{include file="public/header" /}
<body>
<div class="header">
    <i class="layui-icon layui-icon-left"></i> 释放记录
</div>

<ul class="draw-rec-list tpl_list"></ul>
<script id="template" type="text/html">
    {{# for(var i=0;i < d.data.length ;i++){ }}
    <li>
        <div class="flex-layout">
            <div>
                <p>金额：{{d.data[i].real_amount}}</p>
                <p>封顶：{{d.data[i].give}}</p>
                <p>已释放：{{d.data[i].release}}</p>
                <p>剩余：{{d.data[i].give - d.data[i].release}}</p>
                <p class="time">{{d.data[i].create_time}}</p>
            </div>

            <p>{{d.data[i].is_release==1?"释放完毕":"释放中"}}</p>
        </div>
    </li>
    {{# } }}
</script>
</body>
{include file="public/footer"/}
<script>
    $(function () {
        getFlow(1, "{:url('order/getRecord')}");
    });
</script>
</html>